<?php
namespace app\api\model;


use app\model\Base;

class Area extends Base
{
    public function children()
    {
        return $this->hasMany(self::class, "pid", "value");
    }
}